package com.nursing.bean;

import org.springframework.stereotype.Component;

// 健康档案表
@Component
public class HealthRecord {
    private Integer id;
    private Integer elderId; // 老人id
    private String medicalHistory; // 病史
    private String allergy; // 过敏史
    private String medication; // 用药
    private String checkupData; // 检查资料

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public String getMedicalHistory() {
        return medicalHistory;
    }

    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }

    public String getAllergy() {
        return allergy;
    }

    public void setAllergy(String allergy) {
        this.allergy = allergy;
    }

    public String getMedication() {
        return medication;
    }

    public void setMedication(String medication) {
        this.medication = medication;
    }

    public String getCheckupData() {
        return checkupData;
    }

    public void setCheckupData(String checkupData) {
        this.checkupData = checkupData;
    }
}
